package com.hfut.manage.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Dash {
    private Integer teacherNum;
    private Integer deptNum;
    private double teacherAvgAge;
    private List<Map<String, Object>> titleResult;
    private List<Map<String, Object>> deptResult;


    public static Dash getInstance(Integer teacherNum, Integer deptNum, double avgAge, List<Map<String, Object>> titleResult, List<Map<String, Object>> deptResult) {
        return new Dash(teacherNum, deptNum, avgAge, titleResult, deptResult);
    }
}
